#ifndef SX_MYAPP
#define SX_MYAPP


#include <sx/Main.h>




class MyApp : public sx::App {
	
	public:
    
        void setup();
        void update();
        void exit();
        void resized(int w, int h);
        
        
        void keyPress( sx::Key& key );
        void keyRelease( sx::Key& key );
        
        void mousePress( sx::Mouse& key );
        void mouseRelease( sx::Mouse& key );
        void mouseMove( sx::Mouse& key );
        void mouseDrag( sx::Mouse& key );
        void mouseScroll( sx::Mouse& key );
        void mouseDoubleclick( sx::Mouse& key );
        
        void touchDown( sx::Touch& touch );
        void touchUp( sx::Touch& touch );
        void touchMove( sx::Touch& touch );
        
        void penPressure( sx::Pen& pen );
        void penOrientation( sx::Pen& pen );
        void penEnter( sx::Pen& pen );
        void penLeave( sx::Pen& pen );

        void widgetButton( sx::ButtonWidget& button );
        void widgetSlider( sx::SliderWidget& slider );
        void widgetCheckbox( sx::CheckboxWidget& checkbox );
        
        sx::ImageShape* imagepng;
        sx::ImageShape* imagejpg;
        sx::ImageShape* imagebmp;
        
        sx::Model* spaceship; 
        sx::Model* modelobj; 
        sx::Model* model3ds; 
        sx::Model* modelstl; 
                
};

#endif
	
